package com.danicsoft.daide.binary;

/**
 * Describes the various states that a connection can be in.
 * 
 * @author Daniel Yule (daniel.yule@gmail.com)
 * @version 1.0
 */
public enum CONNECTION_STATE {
	/**
	 * We are currently not connected, reconnect possible
	 */
	DISCONNECTED,
	/**
	 * We are currently not connected because of an error, reconnect not
	 * possible
	 */
	ERROR,
	/**
	 * We are in the process of connecting, but are awaiting a response
	 */
	CONNECTING,
	/**
	 * We are connected and can send a recieve messages
	 */
	CONNECTED,
	/**
	 * We are listening for incoming connections
	 */
	LISTENING

}
